﻿@model MPosters.Models.Board

@{
    ViewBag.Title = "Browse Board";
}

<div class="board">
    <h3><em>@Model.Name</em> Board</h3>
 
    <ul id="board-list">
        @foreach (var poster in Model.Posters)
        {
            <li>
                <a href="@Url.Action("Details", 
                    new { id = poster.PosterId })">
                    <span>@poster.Title</span>
                    <img alt="@poster.Title" 
                        src="@poster.PosterImgUrl" />
                    
                </a>
            </li>
        }
    </ul>
</div>